package com.cskaoyan.mapper;

import com.cskaoyan.bean.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {

    // 一对一分次查询

    User selectUserByName(@Param("name") String name);


    // 一对一 连接查询
    User selectUserByNameUseCrossQuery(@Param("name") String name);


}
